<!doctype html>

<html>
  <head>
    <meta charset="utf-8">
    <title>Emscripten:custom print</title>
  </head>
  <body>
<!--custom_print.html-->
	<script>
	Module = {};
	Module.print = function(e) {
		alert(e);
	}
	</script>
    <script src="hello.js"></script>
  </body>
</html>